<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
		<title>分类2</title>
		<link rel="stylesheet" type="text/css" href="./css/classificationtwo.css" />
		<link rel="stylesheet" type="text/css" href="./css/pbulic.css" />
		<link rel="stylesheet" type="text/css" href="./css/iconfont.css" />
		<script src="./js/rem.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			document.addEventListener('plusready', function() {
				//console.log("所有plus api都应该在此事件发生后调用，否则会出现plus is undefined。")

			});
		</script>
	</head>
	<body>
		<nav>
			<i class="iconfont back">&#xe889;</i>
			<div class="qualitybox">
				<span class="quality">商城分类列表</span>
			</div>
			<div class="navright">
				<i class="iconfont">&#xe67f;</i>
				<span></span>
				<i class="iconfont">&#xe649;</i>
			</div>
		</nav>
		<div class="search">
			<form action="" method="post">
				<i class="iconfont classif">&#xe602;</i>
				<input type="text" placeholder="化油器" id="searchs" />
			</form>
		</div>
		<div class="line">

		</div>
		<main>
			<div class="content">
				<div class="listbox">
					<div class="list">
						<span>新品</span>
					</div>
					<div class="list">
						<span>摩托配件</span>
					</div>
					<div class="list">
						<span>火花塞</span>
					</div>
					<div class="list">
						<span>坐垫</span>
					</div>
					<div class="list">
						<span>轴承</span>
					</div>
					<div class="list">
						<span>汽缸盖</span>
					</div>
					<div class="list">
						<span>化油器</span>
					</div>
				</div>
				<div class="listcontent">
					<div class="ct">
						<img src="img/contentimg.jpg">
						<span>徒步登山包</span>
					</div>
					<div class="ct">
						<img src="img/contentimg.jpg">
						<span>徒步登山包</span>
					</div>
					<div class="ct">
						<img src="img/contentimg.jpg">
						<span>徒步登山包</span>
					</div>
				</div>
			</div>
		</main>
	</body>
	<script type="text/javascript">
		var oText1 = document.getElementById("searchs");
		oText1.onfocus = function() {
			if (this.placeholder == "化油器") {
				this.placeholder = '';
			}
		}
		oText1.onblur = function() {
			if (this.placeholder == '') {
				this.placeholder = "化油器";
			}
		}

		function tiaozhuan(goHref) {
			for (var i = 0; i < goHref.aTaget.length; i++)
				goHref.aTaget[i].addEventListener('click', function() {
					plus.webview.open(goHref.newPage)
				})
		}
		tiaozhuan({
			aTaget: document.getElementsByClassName("back"),
			newPage: "homepage.html",
		})
	</script>
</html>
